function rem() {
    document.documentElement.style.fontSize = (document.documentElement.clientWidth) / 3.75 + 'px';
}

document.addEventListener('touchstart', function () {

}, false);

rem();

window.onresize = function () {
    rem();
}